package com.kristin;

import com.kristin.server.DemoService;
import com.kristin.util.RemoteFactory;

/**
 * @ClassName ConsumerClient
 * @Description TODO
 * @Author Kristin
 * @Date 2021/06/23 16:19:00
 * @Version 1.0.0
 */
public class ConsumerClient {

    public static void main(String[] args) {
        DemoService demoService = (DemoService)RemoteFactory.getRemoteObject(DemoService.class);
        demoService.hello("kristin");
    }

}
